myecharts=echarts.init(document.getElementById('view1'))
option = {
    
	title : [
	{
	    text: 'Customer Satisfaction Survey',
	    x:'center'
	},
	
	{
	    text: 'Tast',
	    x:'10%',
		y:'50%'
	},
	
	{
	    text: 'environment',
	    x:'35%',
		y:'50%'
	},
	{
	    text: 'service',
	    x:'75%',
		y:'50%'
	},
	],
    tooltip : {
        trigger: 'item',
        formatter: "{a} <br/>{b} : {c} ({d}%)"
    },
    series : [
        {
            name: 'rating',
            type: 'pie',
            radius : '35%',
            center: ['50%', '30%'],
            data:[
                {value:18851, name:'tiptop'},
                {value:8576, name:'preferably'},
                {value:3885, name:'general'},
                {value:1034, name:'range'},
                {value:1034, name:'bad'}
            ],
            itemStyle: {
                emphasis: {
                    shadowBlur: 10,
                    shadowOffsetX: 0,
                    shadowColor: 'rgba(0, 0, 0, 0.5)'
                }
            }
        },
	
		{
			title:'tast',
		    name: 'tast',
		    type: 'pie',
		    radius : '15%',
		    center: ['20%', '75%'],
		    data:[
		        {value:824, name:'0星'},
				{value:1301, name:'1星'},
		        {value:4024, name:'2星'},
				{value:8511, name:'3星'},
				{value:18720, name:'4星'}
		    ],
		    itemStyle: {
		        emphasis: {
		            shadowBlur: 10,
		            shadowOffsetX: 0,
		            shadowColor: 'rgba(0, 0, 0, 0.5)'
		        }
		    }
		},
		{
		    name: 'environment',
		    type: 'pie',
		    radius : '15%',
		    center: ['50%', '75%'],
		    data:[
				{value:578, name:'0星'},
				{value:1269, name:'1星'},
				{value:3998, name:'2星'},
				{value:8462, name:'3星'},
				{value:79073, name:'4星'}
		    ],
		    itemStyle: {
		        emphasis: {
		            shadowBlur: 10,
		            shadowOffsetX: 0,
		            shadowColor: 'rgba(0, 0, 0, 0.5)'
		        }
		    }
		},
		{
		    name: 'service',
		    type: 'pie',
		    radius : '15%',
		    center: ['80%', '75%'],
		    data:[
				{value:977, name:'0星'},
				{value:1309, name:'1星'},
				{value:3616, name:'2星'},
				{value:7871, name:'3星'},
				{value:19607, name:'4星'}
		    ],
		    itemStyle: {
		        emphasis: {
		            shadowBlur: 10,
		            shadowOffsetX: 0,
		            shadowColor: 'rgba(0, 0, 0, 0.5)'
		        }
		    }
		}
    ],
};

myecharts.setOption(option);